<template>
  <div class="m-20">
    <h4>我是 /public/PluginRouyeView/testPluginPage.vue</h4>
    <p>按钮级权限控制</p>
    <el-button type="success">查看</el-button>
    <el-button type="primary" v-permission="'configPage.add'">新增
    </el-button>
    <el-button type="warning" v-permission="'configPage.edit'">编辑
    </el-button>
    <el-button type="danger" v-permission="'configPage.delete'">删除
    </el-button>
    <el-input class="ml-10" style="width:300px;" v-model="text"></el-input>
  </div>
</template>

<script>
import common from '@/views/_common/mixin.js'
export default {
  mixins: [common],
  data: () => {
    return {
      text: '',
    }
  },
}
</script>

<style lang="scss" scoped>
</style>